<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Insert title here</title>
</head>
<body>
	<h:form>
	<table>
		<tr>
			<th>Base</th>
			<td><h:inputText value="#{irpfCalculateForm.irpf.base}"></h:inputText></td>
		</tr>
		<tr>
			<th>Year</th>
			<td><h:inputText value="#{irpfCalculateForm.irpf.ano}"></h:inputText></td>
		</tr>
		<tr>
			<th>Total</th>
			<td><h:inputText value="#{irpfCalculateForm.irpf.total}"></h:inputText></td>
		</tr>
		<tr>
			<th></th>
			<td><h:commandButton action="#{irpfCalculateForm.calculateIrpf}" value="Save"></h:commandButton>
			<h:commandButton action="#{irpfCalculateForm.restoreIrpf}" value="Restore"></h:commandButton></td>
		</tr>
	</table>
	</h:form>
</body>
</html>